package com.bw.zhanggm.file.openfegin;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "ht-user",path = "/user/")
public interface UserFeignClient {

    @GetMapping("getUserInfoById")
    public UserInfo getUserInfoById(@RequestParam("id") Integer userId);

}
